home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
INFO
/
DOS32V4.ZIP
/
DOS32PAT.TXT
< prev
next >
Wrap
Text File
|
1986-05-17
|
5KB
|
164 lines
*********************************************************************
* WARNING -> Always use a backup when patching any program ! *
* These patches are for IBM PC-DOS 3.2 only !!! *
*********************************************************************
5/3/86
I have converted the 2 patches I used in DOS 3.1 to work with
DOS 3.2.
The first patch will change the default enviroment space to
be about 1K in size. For an enviroment of 512bytes use 1E instead
of 3C for the first Edit in debug.
The second patch will change the default ECHO to OFF.
Both patches are included in the file DOS32PAT.PAT.
To use this file you can just enter the following commands :
COPY COMMAND.COM OLDCMD.COM
DEBUG COMMAND.COM <DOS32PAT.PAT
<CTRL-ALT-DEL> (reboot DOS)
The above assumes that the patch file is on the same drive as
command.com and that both are on the default drive. Add drive
and path specifiers as needed.
Alternatively you can follow the patch sequence by hand as outlined
in the file DOS32PAT.LOG. This file was created by using DOS32PAT.PAT
as above but redirecting the output to a file instead of letting
it come to the screen.
This file was then editted to indicate what is to be typed by the
user. Use of [A] means to type the character A. {CR} is used to
indicate the use of the carriage return key.
These patches were converted from the patches for DOS 3.1 by
Compuserve IBMSIG. Bob Morse gave the enviroment patch for
DOS 3.1 and Ted Eyrick gave the ECHO OFF default patch for DOS 3.1.
If you have any questions or problems with these patches I can be
reached on Gene Plantz's BBS at (312) 882-4227 .
Rick Eversole [ID1864]
Thanks to those who have preceeded me.
By popular demand the patches that were in the file DOS32PAT.PAT
have been separated into 2 separate files:
DOS32P1.PAT will allow you to ONLY change the default
enviroment.
DOS32P2.PAT will allow you to ONLY change the default for echo to
ECHO OFF. Note that with this patch you will still have to
use ECHO OFF in the first line of your AUTOEXEC.BAT file
as DOS will still use ECHO ON dispite this patch for the
AUTOEXEC.BAT file during boot only.
Rick Eversole 5/4/86
======================== version 3 ========================
SCREEN Scrolling
Ward Christensen's patches for DOS 3.1 version of ANSI.SYS
to disable wait for retrace and screen blanking works for
DOS 3.2. Using DEBUG proceed as follows:
DEBUG ANSI.SYS
-E 02E3 {CR}
xxxx:02E3 74.90 FB.90{CR}
-E 02EA{CR}
xxxx:02EA EE.90{CR}
-W{CR}
-Q{CR}
Alternatively the file DOS32P3.PAT can be redirected as
input to DEBUG as follows :
DEBUG ANSI.SYS <DOS32P3.PAT
==============
Disable EDLIN automatic .BAK file creation
This patch will cause EDLIN to not create a .BAK file
when using EDLIN. This patch is not recommended but is
included here because it was in the group of patches for
DOS 3.1 from which most of the patches in this set were
derived.
DEBUG EDLIN.COM
-E 0CD5{CR}
xxxx:0CD5 56.41{CR}
-W{CR}
-Q{CR}
Alternatively :
DEBUG EDLIN.COM <DOS32P4.PAT
For your information this patch changes the EDLIN process of
renaming your orignal file to .BAK . The code in EDLIN in the
patch area is :
MOV AH,56 ; RENAME FILE using DOS INT 21 function 56
INT 21 ;
The patch changes the function 56 (RENAME file) to the
function 41 (UNLINK file) .
==========
Automatic instalation of printer for DOS PRINT .
This patch causes the DOS PRINT command to automatically
select your desired default printer port.
DEBUG PRINT.COM
-E 190D{CR}
xxxx:190D E8.90 CB.90 02.90{CR}
-E 191F{CR}
xxxx:191F CD.90 21.90{CR}
-W{CR}
-Q{CR}
If the printer port is LPT2 then the following address must also
be modified as follows :
-E 11C2 4 "LPT2"{CR}
Alternatively for LPT1 use
DEBUG PRINT.COM <DOS32P5A.PAT
For LPT2 use :
DEBUG PRINT.COM <DOS32P5B.PAT
==========
Disable automatic header in FIND.EXE output
The find program puts an automatic header --------- filename
in the output listing. To disable this header, patch FIND.EXE
as follows :
RENAME FIND.EXE FIND.TMP
DEBUG FIND.TMP
-E 426{CR}
xxxx:0426 3.2C{CR}
-W{CR}
-Q{CR}
RENAME FIND.TMP FIND.EXE
Alternatively :
RENAME FIND.EXE FIND.TMP
DEBUG FIND.TMP <DOS32P6.PAT
RENAME FIND.TMP FIND.EXE
5/10/86 Rick Eversole [ID1864]
==================== Version 4 =============================
Thanks to Glenn Rose and PC Magazine I have corrected
DOS32P2.PAT to make ECHO OFF the default for ALL .BAT files.
The additional patch is :
E 115E 2
This addition has been made to the DOS32P2.PAT and DOS32PAT.PAT
files.
5/17/86 Rick Eversole [ID1864]
===========================================================